package com.example.demo.repository;

import com.example.demo.entities.User1;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRepository extends JpaRepository<User1, Long> {

    List<User1> findAllByUsername(String username);

}
